#include <map>
#include <iostream>
#include <string>
#include <stdlib.h>
#include "comando.h"

#ifndef CMDENDFOR_H
#define CMDENDFOR_H

using namespace std;
class Cmd_End_For : public Comando {
	private:
		int linha_for;
		Comando *atrib;
	public:
		Cmd_End_For(map<string,string> *memoria, int pc, int linha_for, Comando *atrib) : Comando (memoria, pc) {
			this->linha_for=linha_for;
			this->atrib=atrib;
		}
	
		virtual int executar() {
			atrib->executar();
			return linha_for;
		}
};
#endif
